package epam.bank.repository.api;

import epam.bank.api.repository.IGenericCRUDRepository;
import epam.bank.domain.Payment;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: dima
 * Date: 10.03.13
 * Time: 1:54
 * To change this template use File | Settings | File Templates.
 */
public interface IPaymentRepository extends IGenericCRUDRepository<Payment> {

    public List<Payment> getPaymentsByInvoice(Long invoiceId)
            throws IllegalArgumentException;
}
